package com.accenture.portal.service.questionnaire;

import java.util.List;

import com.accenture.portal.model.questionnaire.Answer;
import com.accenture.portal.model.questionnaire.Questionnaire;

public interface AnswerService {
	public Answer getAnswerById(Integer answerId);
	public void addOptionAnswer(Answer answer);
	public void addTextAnswer(Answer answer);
	public void deleteAnswerByUserAndQuestionnaire(Integer answerUser,Integer answerQuestionnaire);
	public void deleteAnswerByQuestionnaire(Integer answerQuestionnaire);
	public void editAnswer(Answer answer);
	public List<Questionnaire> getAnswerSaved(Integer answerUser,Boolean answerType);
	public List<Questionnaire> getNewQuestionnaireByUser(Integer answerUser);
	public Answer getAnswerTextByUserIdAndQuestionId(Integer answerUser,Integer answerQuestion);
	public Answer getAnswerByUserIdAndOptionId(Integer answerUser,Integer answerOption);
	public List<Answer> getSubmittedUserList(Integer answerQuestionnaire);
}
